package com.example.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: 康伟奇
 * @date: 2023 - 11 - 23 11:25
 **/
@Data
public class Orders implements Serializable {
    private static final long serialVersionUID = 1L;
    //ID
    private Integer id;
    //订单编号
    private String orderNo;
    //下单时间
    private String time;
    //支付时间
    private String payTime;
    //支付类型
    private String payType;
    //订单状态
    private String status;
    //接单商家ID
    private Integer businessId;
    //收货人
    private String user;
    //送货地址
    private String address;
    //下单人电话
    private String phone;
    //下单人ID
    private Integer userId;
    //订单总价
    private BigDecimal amount;
    //优惠金额
    private BigDecimal discount;
    //实付款
    private BigDecimal actual;
    //备注
    private String comment;
    //封面
    private String cover;
    //骑手用户id
    private Integer riderUserId;
    //名称
    private String name;
    //商家名称（不存在于表中）
    private String businessName;
    //消费者名称（不存在于表中）
    private String userName;

}
